package com.aistar.service;

import com.aistar.pojo.QuestionDetail;
import com.aistar.util.ServerResponse;
import org.apache.catalina.Server;

public interface QuestionDetailService {

    public ServerResponse add(QuestionDetail questionDetail);

    //根据套题详情id查询选择题的的答案
    public ServerResponse getAnswer(Integer questionDetailId);

    public ServerResponse getById(Integer questionDetailId);

    //根据套题id查询套题详情
    public ServerResponse getByQuestionSetId(Integer questionSetId);

    public ServerResponse modify(QuestionDetail questionDetail);

    public ServerResponse getByQuestionSetIdAndChoiceId(Integer questionSetId,Integer choiceId);


}
